Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.2.0-beta.2 #184

Merged
merged 13 commits into from
Nov 15, 2024
Merged

Release 3.2.0-beta.2 #184

merged 13 commits into from
Nov 15, 2024

Conversation

oschwald
Copy link
Member

  • Set release date
  • Update config file for phpstan 2
  • Improve type hints for PHPStan
  • Use typed properties
  • Fix questionable handling of falsey values
  • Remove redundant is_string check
  • Remove checks that are no longer needed
  • Update dependencies

Copy link
Contributor

@horgh horgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple questions!

@@ -62,6 +67,10 @@ protected function maybeThrowInvalidInputException(string $msg): void
}
}

/**
* @param array<string, mixed> $array
* @param list<string> $types
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mention $key?

@@ -19,8 +19,7 @@
"require": {
"php": ">=8.1",
"ext-json": "*",
"geoip2/geoip2": "^v3.0.0",
"maxmind/web-service-common": "^0.9.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need an explicit dep on this now?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We get it from geiop2/geoip2. I think I added it as an explicit dep when I wanted to force newer version when geoip2/geoip2 had not been updated yet. It seems slightly easier to manage as an implicit dep, but I can see arguments both ways.

horgh
horgh previously approved these changes Nov 15, 2024
@horgh horgh merged commit a353b80 into main Nov 15, 2024
30 checks passed
@horgh horgh deleted the greg/release branch November 15, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants